From: Florian Müllner Date: Mon, 7 Jun 2021 22:19:26 +0000 (+0200) Subject: status/network: Do not disable on login screen X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~574^2^2~201 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=28a42da9475e95373370b5d37694edc96ea80e1a;p=gnome-shell.git status/network: Do not disable on login screen We currently disable all network items on both the lock- and login screen. While it makes sense to be very restrictive on the lock screen, there are some (fringe) use cases for being more permissive on the login screen (like remote home directories only accessible via VPN). There's precedence with the power-off/restart actions to be less restrictive on the login screen, and since we started respecting the `network-control` polkit action, it's possible to restore the old behavior if desired. Part-of: --- diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 3d336ed7e..b1b11e114 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1765,7 +1765,6 @@ class Indicator extends PanelMenu.SystemIndicator { _sessionUpdated() { const sensitive = !Main.sessionMode.isLocked && - !Main.sessionMode.isGreeter && this._configPermission && this._configPermission.allowed; this.menu.setSensitive(sensitive); }